package vo;

import java.util.ArrayList;
import java.util.List;

public class UsuarioVO {
	
	private String login, senha, nome;
	private int id;
	private List<OrganizationVO> organizations;

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getSenha() {
		return senha;
	}

	public void setSenha(String senha) {
		this.senha = senha;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getNome() {
		return nome;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setOrganizations(List<OrganizationVO> organizations) {
		this.organizations = organizations;
	}

	public List<OrganizationVO> getOrganizations() {
		if (this.organizations == null)
			this.organizations = new ArrayList<OrganizationVO>();
		
		return organizations;
	}
}
